<div class="d-flex gap-2 align-items-center input-container flex-grow-1" style="max-width: 250px">
    <span class="d-inline-flex align-items-center justify-content-center text-nowrap px-2">
        ${label}
    </span>
    <input id="${fieldName}" col="${fieldName}" class="form-control form-control-sm" />
</div>